package com.sec.android.app.myfiles.feature.cloud;

import android.content.Context;

import com.sec.android.app.myfiles.feature.CloudMgr;
import com.sec.android.app.myfiles.info.AppConstants;
import com.sec.android.app.myfiles.module.abstraction.FileRecord.CloudType;
import com.sec.android.app.myfiles.util.PreferenceUtils;

public class SamsungCloudImp extends AbsCloudImp {
    public SamsungCloudImp(Context context) {
        super(context);
    }

    @Override
    protected void _retrieveAccountInfo() {
        if (isSignedIn()) {
            PreferenceUtils.setCloudVisitFlag(mContext);
        }
    }

    @Override
    public CloudType getCloudType() {
        return CloudType.SamsungDrive;
    }

    @Override
    public String getAccountType() {
        return "com.osp.app.signin";
    }

    @Override
    public String getCloudName() {
        return AppConstants.CloudType.SAMSUNG_DRIVE;
    }

    @Override
    public String getStoragePath() {
        return AppConstants.StoragePath.SAMSUNG_DRIVE_FOLDER;
    }

    @Override
    public int getRequestCode() {
        return CloudMgr.MYFILES_SAMSUNGDRIVE_LOGIN;
    }
}
